<template>
  <view>
  </view>
</template>

<script>
import wechat from '@/utils/wechat'
export default {
  data() {
    return {}
  },
  methods: {
    handleShare() {
      wechat.shareToFriend({
        title: '分享标题',
        desc: '分享描述',
        link: 'https://www.baidu.com',
        imgUrl: 'https://www.baidu.com/img/flexible/logo/pc/result.png'
      }).then((res) => {
        console.log(res)
      }).catch((err) => {
        console.log(err)
      })
    }
  }
}
</script>

<style scoped>
</style>

